{%extends "base.html"%}
{%block body%}
<br />
<table cellpadding="2" width="100%" class="smallfont" border="0">
  <tr>
  	<td > Page: {{StringPaging}}</td>
  </tr>
</table> 
<br />
<table border="1" cellpadding="2" style="border-collapse: collapse" bordercolor="#C9C9C9" width="500" >
  <tr class="title">
    <td width="100" align="center" ><b>Name</b></td>
    <td align="center" width="300"><b>Value</b></td>
	<td width="30">&nbsp;</td>
	<td width="30">&nbsp;</td>
  </tr>
  
  {%for item in  list%}
  <tr class="smallfont">
    <td><a href="#">{{item.name}}</a></td>
	<td>{{item.value|striptags|truncatewords:10}}</td>
    <td><a href="/config/edit/{{item.key.id}}">Edit</a></td>
    <td><a href="config/delete/{{item.key.id}}">Delete</a></td>
  </tr>
  {%endfor%}
  </table>
   <p>
  	<input type="button" onclick="window.location='/config/add'" value="Add Config" name="AddConfig"/>
  </p> 
{%endblock%}